<?php
namespace app\index\controller;
use think\Loader;
class Lawyer extends Base{

    // 律师列表
    public function index()
    {
        $invoking                    = Loader::model('Other','service');
        $data                        = $invoking->lawyerList();

        $this->assign('page',$data['page']);
        $this->assign('list',$data['list']);
        return $this->fetch();
    }

    // 律师详情
    public function detail()
    {
        $invoking                    = Loader::model('Other','service');
        $data                        = $invoking->lawyerFind();
        $this->assign('data',$data);
        return $this->fetch();
    }

}
